package com.demo.bean9001.service.impl.partner;

import com.demo.bean9001.mapper.partner.CooperativePartnerMapper;
import com.demo.bean9001.service.partner.CooperativePartnerService;
import com.demo.common.entity.CooperativePartner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 合作伙伴
 * 作者：张佑威
 */
@Service
public class CooperativePartnerServiceImpl implements CooperativePartnerService {
    @Autowired
    private CooperativePartnerMapper cooperativePartnerMapper;

    @Override
    public CooperativePartner selectById(Integer id) {
        return cooperativePartnerMapper.selectById(id);
    }

    @Override
    public List<CooperativePartner> selectByIndustryId(Integer industryId) {
        return cooperativePartnerMapper.selectByIndustryId(industryId);
    }
}
